#include "../include/pruebaExc.h"
#include "../include/strings.h"
#include "../include/getnum.h"

int divide(void)
{
    int dividendo, divisor, res;
    
    do{
      print("Por favor ingrese el dividendo: ");
      dividendo = getint();
      isEnter();
    }while(dividendo == -1);
    do{
    print("Por favor ingrese le divisor: ");
    divisor = getint();
    isEnter();
    }while(divisor == -1);
    res= dividendo / divisor;
 
    printInt(res);
    
    return res;
}

